/**
 * 菜单表单
 */
import { ref } from 'vue'
import { FormItemProps } from '../../../components/base/form-item/props/index'
import { SystemConfig } from '../../../entity/system/system-config'
export const configFormProps = ref<Array<FormItemProps<SystemConfig>>>([
  {
    type: 'input',
    name: 'label',
    label: '标签名',
    placeholder: '标签名',
    rules: [{ required: true, message: '请输入标签名' }],
  },
  {
    type: 'input',
    name: 'description',
    label: '描述',
    placeholder: '描述',
  },
  {
    type: 'input-number',
    name: 'sort',
    label: '排序（升序） ',
    placeholder: '排序（升序） ',
  },
  {
    type: 'input',
    name: 'type',
    label: '类型',
    placeholder: '类型',
  },
  {
    type: 'input',
    name: 'value',
    label: '数据值',
    placeholder: '数据值',
  },
])
